﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Activation;
using System.Text;
using System.Threading.Tasks;

namespace StyleMVVM.WCF.Extensions
{
	public class InjectionServiceHostFactory : ServiceHostFactory
	{
		protected override System.ServiceModel.ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
		{
			return new InjectionServiceHost(Bootstrapper.Instance.Container, serviceType, baseAddresses);
		}
	}
}